﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class GameManager : MonoBehaviour {

    private static GameManager _instance = null;

    private LuaEngine _luaEngine;

    public static GameManager Instance
    {
        get { return _instance; }
    }

    private void Awake()
    {
        _instance = this;

        GameObject.DontDestroyOnLoad(gameObject);

        Init();
    }

    void Init()
    {
        _luaEngine = gameObject.AddComponent<LuaEngine>();

        
    }
}
